package com.tuanzhang.mall.goods.domain.valueobj;

import lombok.Getter;

@Getter
public class SpecItem {
    private Long id;
    private String value;

    private SpecItem(){

    }

    private SpecItem(Long id, String value){
        this.id = id;
        this.value = value;
    }

    public static SpecItem createSpecItem(Long id, String value){
        return new SpecItem(id, value);
    }
}